package edu.scut.course_management.po;

/**
 * 对应“新增/修改课程信息”接口，是AddCourseDTO包含的类对象
 */
public class Sections {
    private String time;
    private String buildingId;
    private String roomNumber;

    

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    @Override
    public String toString() {
        return "Sections {" + 
               "buildingId=" + buildingId + 
               ", roomNumber=" + roomNumber + 
               ", time=" + time + 
               "}";
    }

    public Sections(String time, String buildingId, String roomNumber) {
        this.time = time;
        this.buildingId = buildingId;
        this.roomNumber = roomNumber;
    }

    
    
}